package com.xuecheng.base.execption;

public enum TeachplanError {
    HAS_CHILDREN_ERROR ("120409","存在子级，无法操作");
    private String errMessage;
    private String errCode;
    TeachplanError(String errCode, String errMessage) {
        this.errMessage = errMessage;
        this.errCode = errCode;
    }

    public String getErrMessage() {
        return errMessage;
    }

    public String getErrCode() {
        return errCode;
    }
}
